package com.cskaoyan.mall.mapper;

import com.cskaoyan.mall.bean.GoodsSpecification;
import com.cskaoyan.mall.bean.bo.GoodsCreateBO;
import com.cskaoyan.mall.bean.bo.GoodsSpecificationsBO;
import com.cskaoyan.mall.bean.vo.GoodsSpecificationsVO;

import java.util.List;

public interface GoodsSpecificationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(GoodsSpecification record);

    int insertSelective(GoodsSpecification record);

    GoodsSpecification selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(GoodsSpecification record);

    int updateByPrimaryKey(GoodsSpecification record);

    List<GoodsSpecificationsVO> selectGoodsSepcByGoodsId(Integer id);

    int updateByGoodsSpecBOSelective(GoodsSpecificationsBO specifications);


    int insertCreateGoodsSpec(GoodsCreateBO.GoodsSpecLite4CreateBO specLite4CreateBO);
}
